{
	name:"Linend",
	_extends : {
		key:"AbstractTool",
		path:"./paint_tool/abstract-tool.action"
	},
	tool:"./paint_tool/lines/linend.shape",
	onInit(){
		this.stepSize = 2
		this.moveSize = 1
		this.ctrlIndex = 2
	},
	getLineMeta(stepData){
		let step = stepData.step
		let fp =step[0]
		let sp =step[1]
		let a = Math.tan360(sp.y-fp.y,sp.x-fp.x)
		return {
			x:fp.x,
			y:fp.y,
			a,
			sp
		}
	}
}